/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-08
 * Time: 16:03
 */
public class Test {
    public static void main(String[] args) {
        int[] array = new int[]{1,2,3,4,5,6};
//        for循环一一遍历数组元素
        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i] + " ");
        }
    }
}
